from flask import Flask, jsonify, abort, request
from flask_cors import *
from router.index import router

app = Flask(__name__)

# 跨域设置
CORS(app, supports_credentials=True)

# 路由层入口方法
router(app)

if __name__ == '__main__':
    app.run(port=8080, debug=True)



# 项目入口文件
